package net.maku.im.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.framework.common.query.Query;
import net.maku.framework.common.utils.DateUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
* IM群查询
*
* @author Blue 
* @since 1.0.0 2024-07-14
*/
@Data
@Schema(description = "群组查询")
public class ImGroupQueryDTO extends Query {
    @Schema(description = "群组名字")
    private String name;

    @Schema(description = "群主id")
    private List<Long> ownerIds;

    @Schema(description = "创建时间范围")
    @DateTimeFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private List<Date> createdTime;

}